package com.wzdigit.wms.raw.client.response.basic;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 仓库（ID、编码、名称）简单输出
 * Created by zyf on 2021/6/29 16:15
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class WarehouseApiResponse implements Serializable {

    private static final long serialVersionUID = 8327663210914305822L;

    /**
     * 仓库_ID
     */
    @ApiModelProperty(value = "仓库_ID", required = true)
    private Integer whsId;

    /**
     * 仓库代码
     */
    @ApiModelProperty(value = "仓库代码", required = true)
    private String whsCode;

    /**
     * 仓库名称
     */
    @ApiModelProperty(value = "仓库名称", required = true)
    private String whsName;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型", required = true)
    private Integer whsType;

    /**
     * 用户自定义字段1（类型名称）
     */
    @ApiModelProperty(value = "用户自定义字段1（类型名称）", required = true)
    private String udf1;
}
